package com.xbongbong.pro.listbatch.pojo.dto;

import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Range;

/**
 * 归档
 * @author haibin.zhang
 * @version v1.0
 * @date 2019/2/20 22:52
 * @since v1.0
 */
@Getter
@Setter
public class ArchiveDTO extends ListBatchDTO {

    private static final long serialVersionUID = 2585392684415864021L;
    /**
     * 是否归档
     */
    @Range(min = 1,max = 2,message = "{dto.msg.archive.archived.Range}")
    private Integer archived;
}
